#include "imgui/Layer.h"

ImGui::Layer::Layer(const std::string &title) : m_Title(title)
{

}
void ImGui::Layer::Inst()
{

    if (m_Open)
    {
        if (m_Rendering = ImGui::Begin(m_Title.c_str(), &m_Open, 0))
        {
            ViewFunc();
        }
        ImGui::End();
    }
}


void ImGui::Layer::ViewFunc()
{
}

void ImGui::Layer::HandleFunc()
{
}
